using WeWorkApp.Api.Models.WeChat;

namespace WeWorkApp.Api.Services
{
    public interface IWeChatWorkService
    {
        Task<CustomerDetailDto> GetCustomerDetailAsync(string externalUserId, string? corpId = null);

        Task<string> GetSuiteAccessTokenAsync();

        Task<string> GetCorpAccessTokenAsync(string corpId, string permanentCode);

        Task SaveSuiteTicketAsync(string suiteTicket);

        Task<JsSdkConfigDto> GetJsSdkConfigAsync(string url, string? corpId, string? agentId, List<string>? jsApiList, bool debug = false);
    }
}